package com.punai.prodatalibrary.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.punai.prodatalibrary.domain.ProjectInfoAttachment;
import com.punai.prodatalibrary.domain.bo.ProjectInfoAttachmentBo;
import com.punai.prodatalibrary.mapper.LibProjectInfoMapper;
import com.punai.prodatalibrary.mapper.ProjectInfoAttachmentMapper;
import com.punai.prodatalibrary.service.IProjectInfoAttachmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ProjectInfoAttachmentServiceImpl extends ServiceImpl<ProjectInfoAttachmentMapper, ProjectInfoAttachment> implements IProjectInfoAttachmentService {
    @Autowired
    private ProjectInfoAttachmentMapper  projectInfoAttachmentMapper;

    @Override
    public List<ProjectInfoAttachment> selectAttachmentList(ProjectInfoAttachmentBo projectInfoAttachment) {
        return projectInfoAttachmentMapper.selectAttachmentList(projectInfoAttachment);
    }

    @Override
    public ProjectInfoAttachment selectAttachmentById(String id) {
        return projectInfoAttachmentMapper.selectAttachmentById(id);
    }
}
